home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d23 / chkup35.arc / MIS.BAT < prev    next >
DOS Batch File  |  1989-06-27  |  2KB  |  56 lines

  1. @echo off
  2. echo off
  3. cls
  4. goto top
  5.  
  6. Rich Levin's CHECKUP (tm)
  7. MIS.BAT - A modified CHECKUP.BAT file for MISes
  8. Copyright (c) 1989 Richard B. Levin
  9. All Rights Reserved
  10.  
  11. For use with any version of CHECKUP through v.3.4 and ARC* v.6.02+
  12.  
  13. * ARC is a copyrighted product of System Enhancement Associates, Inc.
  14.                                   21 New Street
  15.                                   Wayne, NJ 07470
  16.  
  17.         We prefer that users run CHECKUP via the "clean floppy disk" method
  18. documented in CHECKUP.DOC.  MISes know, however, that unless it's easy and
  19. automated, corporate users cannot be counted on to perform system maintenence
  20. on a regular basis.  To address this problem, we created and provide MIS.BAT.
  21.  
  22.         Add MIS.BAT to your users' AUTOEXEC.BAT files.  Confirm that
  23. CHECKUP.EXE and ARC.EXE are stored in the CHECKUP subdirectory or in a
  24. subdirectory specified by the PATH environment variable.  An output file named
  25. "MIS.ARC" will remain in the CHECKUP subdirectory after processing.  MIS.ARC
  26. stores CHECKUP's output files in a compressed, encrypted format; it should not
  27. be deleted.
  28.  
  29.         MIS.BAT runs CHECKUP with the /L[OCK] command-line parameter in
  30. effect; this causes CHECKUP to lock-up the system and sound an alarm whenever
  31. file modifications are encountered.  In addition, MIS.BAT PAUSEs when other
  32. errors are encountered.  We suggest you replace the PAUSE commands with
  33. stronger actions, such as a call to another batch file that prints an
  34. on-screen message advising users to contact your MIS department.
  35.  
  36. :top
  37.    if not exist \checkup\*.* goto xit
  38.    echo Wait ...
  39.    ctty nul
  40.    c:
  41.    cd \checkup
  42.    if exist mis.arc arc x mis.arc
  43.    copy *.x* \
  44.    del *.x*
  45.    ctty con
  46.    checkup \*.com /l /r
  47.    if errorlevel 1 pause
  48.    checkup \*.sys /l /r
  49.    if errorlevel 1 pause
  50.    ctty nul
  51.    del \config.xys
  52.    if exist \*.x* arc m mis.arc \*.x*
  53.    ctty con
  54.  
  55. :xit
  56.